//
// Created by mcy on 2017/10/14.
//
#ifndef STRUCTC_ASSERT_H
#define STRUCTC_ASSERT_H
#include <iostream>
#include <string>
using namespace std;

void errorAndExit();
template <typename T>
void assertEqual(T& left, T& right)
{
    if (left != right)
    {
        errorAndExit();
    }
}
void assert(int res);
#endif //STRUCTC_ASSERT_H
